Smush\Core\Stats D

Total Complexity 202
Dependencies 6
Dependents 1
Total lines 1,076
Lines of code 594
Logical lines of code 333
Comment lines 317
Methods 32
Properties 6

Methods 32

Method Rating Maintainability Complexity Lines of code
global_stats()
D
31 34 97
get_savings()
B
37 21 74
get_stats_for_attachments()
B
43 21 45
get_global_stats()
B
51 18 20
run_query()
A
46 9 36
combine_conversion_stats()
A
53 10 21
combined_stats()
A
53 10 20
get_grade_data()
A
51 9 27
total_compression()
A
57 9 15
setup_global_stats()
A
50 8 27
get_unsmushed_attachments()
S
58 8 15
get_smushed_attachments()
S
54 6 21
add_to_media_attachments_list()
S
61 5 12
skipped_count()
S
55 4 20
get_media_attachments()
S
54 3 22
remove_from_media_attachments_list()
S
62 3 11
get_unsmushed_meta_query()
S
56 2 20
remove_from_smushed_list()
S
63 3 10
add_to_smushed_list()
S
63 3 10
__construct()
S
57 1 19
ignore_all_failed_items()
S
77 2 3
get_resmush_ids()
S
71 2 6
remaining_count()
S
69 2 6
remove_stats()
S
73 1 5
get_super_smushed_attachments()
S
67 1 9
update_lists()
S
77 1 4
get_query_limit()
S
82 1 3
set_query_limit()
S
77 1 4
get_max_rows()
S
82 1 3
set_max_rows()
S
77 1 4
setup_global_stats_with_resmush_correction()
S
76 1 4
init()
S
98 1 1